/**
 * 代理商表 枚举
 *
 * @Author:    zwd
 * @Date:      2025-01-23 04:08:26
 * @Copyright  123
 */

export const STATUS_ENUM = {
  NORMAL: {
    value: 0,
    desc: '正常',
  },
  PROXY_FORBIDDEN: {
    value: 1,
    desc: '禁止开代理商',
  },
  MERCHANT_FORBIDDEN: {
    value: 2,
    desc: '禁止开商户',
  },
  OPERATOR_LOGIN_FORBIDDEN: {
    value: 3,
    desc: '禁止操作人员登录',
  },
  SYSTEM_STOPPED: {
    value: 4,
    desc: '系统停止使用',
  },
  ALL_COLLECTION_STOPPED: {
    value: 5,
    desc: '停止全部收款',
  },
  ALL_FORBIDDEN: {
    value: 6,
    desc: '全部禁用',
  },
}
export const BLACKLIST_AGENT_STATUS_ENUM = {
  PROXY_FORBIDDEN: {
    value: 1,
    desc: '禁止开代理商',
  },
  MERCHANT_FORBIDDEN: {
    value: 2,
    desc: '禁止开商户',
  },
  OPERATOR_LOGIN_FORBIDDEN: {
    value: 3,
    desc: '禁止操作人员登录',
  },
  SYSTEM_STOPPED: {
    value: 4,
    desc: '系统停止使用',
  },
  ALL_COLLECTION_STOPPED: {
    value: 5,
    desc: '停止全部收款',
  },
  ALL_FORBIDDEN: {
    value: 6,
    desc: '全部禁用',
  },
}
export const MERCHANT_STATUS_ENUM = {
  NORMAL: {
    value: 0,
    desc: '正常',
  },
  OPERATOR_LOGIN_FORBIDDEN: {
    value: 1,
    desc: '禁止操作人员登录',
  },
  SYSTEM_STOPPED: {
    value: 2,
    desc: '系统停止使用',
  },
  ALL_COLLECTION_STOPPED: {
    value: 3,
    desc: '停止全部收款',
  },
  ALL_FORBIDDEN: {
    value: 4,
    desc: '全部禁用',
  },
}
export const BLACKLIST_MERCHANT_STATUS_ENUM = {
  OPERATOR_LOGIN_FORBIDDEN: {
    value: 1,
    desc: '禁止操作人员登录',
  },
  SYSTEM_STOPPED: {
    value: 2,
    desc: '系统停止使用',
  },
  ALL_COLLECTION_STOPPED: {
    value: 3,
    desc: '停止全部收款',
  },
  ALL_FORBIDDEN: {
    value: 4,
    desc: '全部禁用',
  },
}
export const AUTH_BUSINESS_ENUM = {
  OPEN_MERCHANT: {
    value: 0,
    desc: '开商户',
  },
  INDUSTRY_SALES: {
    value: 1,
    desc: '开设代理商',
  },
  ALL: {
    value: 2,
    desc: '全部',
  },
}
// 授权业务
export const AUTH_BUSINESS_AGENT_ENUM = {
  OPEN_MERCHANT: {
    value: 0,
    desc: '开商户',
  },
  ALL: {
    value: 2,
    desc: '全部',
  },
}

export const ACCOUNT_TYPE_ENUM = {
  PHONE_NUMBER: {
    value: 0,
    desc: '手机号',
  },
  ENTERPRISE_CODE: {
    value: 1,
    desc: '企业代码',
  },
}

export const PROFIT_WITHDRAWAL_TYPE_ENUM = {
  UNIFIED_WITHDRAWAL: {
    value: 0,
    desc: '统一提现',
  },
  GRADUAL_WITHDRAWAL: {
    value: 1,
    desc: '逐级提现',
  },
}

export default {
  STATUS_ENUM,
  MERCHANT_STATUS_ENUM,
  AUTH_BUSINESS_ENUM,
  ACCOUNT_TYPE_ENUM,
  PROFIT_WITHDRAWAL_TYPE_ENUM,
  BLACKLIST_AGENT_STATUS_ENUM,
  BLACKLIST_MERCHANT_STATUS_ENUM,
  AUTH_BUSINESS_AGENT_ENUM,
}
